package cady;

import com.google.wave.api.*;
import com.google.wave.api.event.*;

public class CadyExporter extends AbstractRobot {
  @Override
  protected String getRobotName() {
    return "Cady";
  }
  
  @Override
  protected String getRobotAvatarUrl() {
    return "http://code.google.com/p/wave-cady/hg/robotAvatar.png";
  }

  @Override
  protected String getRobotProfilePageUrl() {
    return "http://code.google.com/p/wave-cady/";
  }

  @Override
  public void onGadgetStateChanged(GadgetStateChangedEvent e) {
    // TODO respond to it
    // - Watch for the export command
    // - Read the model and create a document for it, in the specified format
    // - Attach the generated document to the wave itself
  }
}
